package com.pctx.bibadevicemanager.service;

import com.pctx.bibacommon.result.Result;
import com.pctx.bibadevicemanager.pojo.DeviceInfo;

import java.util.List;

/**
 * Created by chason on 2018/2/28.19:05
 */
public interface DeviceInfoService {
    List<DeviceInfo> getByCompanyUuid(String companyUuid) throws Exception;

    DeviceInfo getByUuid(String uuid) throws Exception;

    boolean add(DeviceInfo info) throws Exception;

    boolean updateByUuid(DeviceInfo info) throws Exception;

    Result addByImei(String imei, String userUuid, String companyUuid, String deviceName) throws Exception;

    DeviceInfo getByDeviceNo(String deviceNo) throws Exception;

    Result getListByUserUuid(String userUuid, String companyUuid) throws Exception;
}
